package com.enjoyor.soa.traffic.rest.efoms.dubbo.impl;

import org.springframework.stereotype.Component;

import com.alibaba.dubbo.config.annotation.Reference;
import com.enjoyor.soa.traffic.api.service.dubbo.efoms.IDubboSurveyDeviceCollectInfoService;
import com.enjoyor.soa.traffic.rest.efoms.dubbo.ISurveyDeviceCollectInfoConsumeService;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

@Component
public class SurveyDeviceCollectInfoConsumeService implements ISurveyDeviceCollectInfoConsumeService{

	@Reference(version = "1.0.0", timeout = 10000)
	private IDubboSurveyDeviceCollectInfoService dubboSurveyDeviceCollectInfoService;

	@Override
	public ResultPojo getDeviceUnnormalCollectInfoList(String devTypeCode) {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.getDeviceUnnormalCollectInfoList(devTypeCode);
	}

	@Override
	public ResultPojo getDeviceUnNorForArea(String devTypeCode) {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.getDeviceUnNorForArea(devTypeCode);
	}

	@Override
	public ResultPojo getDeviceNowSum(String beginTime, String endTime,String devTypeCode) {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.getDeviceNowCollectSum(beginTime, endTime,devTypeCode);
	}

	@Override
	public ResultPojo getCheckCountForDeptIdAndSum() {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.getCheckCountForDeptIdAndSum();
	}

	@Override
	public ResultPojo getRepCountForDeptIdAndSum() {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.getRepCountForDeptIdAndSum();
	}

	@Override
	public ResultPojo getRepSourceCount(String devTypeCode) {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.getRepSourceCount(devTypeCode);
	}

	@Override
	public ResultPojo getRepSourceCountForDept(String devTypeCode) {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.getRepSourceCountForDept(devTypeCode);
	}

	@Override
	public ResultPojo getFaultCollectReal(String devTypeCode) {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.getFaultCollectReal(devTypeCode);
	}

	@Override
	public ResultPojo getFaultCollectRealTrend(String devTypeCode, String beginTime, String endTime) {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.getFaultCollectRealTrend(devTypeCode,beginTime,endTime);
	}
	
	@Override
	public ResultPojo selectDeviceFaultCollectInfoList(String devTypeCode) {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.selectDeviceFaultCollectInfoList(devTypeCode);
	}
	

	@Override
	public ResultPojo selectDeviceFaultCollectByDevTypeCode(String devTypeCode) {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.selectDeviceFaultCollectByDevTypeCode(devTypeCode);
	}

	@Override
	public ResultPojo selectDevFaColGroupByDepId(String devTypeCode) {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.selectDevFaColGroupByDepId(devTypeCode);
	}

	@Override
	public ResultPojo selectOppmWorkCollectInfoList(String devTypeCode) {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.selectOppmWorkCollectInfoList(devTypeCode);
	}

	@Override
	public ResultPojo getWarningCountForToday(String devTypeCode) {
		// TODO Auto-generated method stub
		return dubboSurveyDeviceCollectInfoService.getWarningCountForToday(devTypeCode);
	}
	
}
